package com.leo;

import com.jfoenix.controls.JFXToggleButton;
import com.jfoenix.controls.JFXToggleNode;
import javafx.application.Application;
import javafx.stage.Stage;

/**
 * @ClassName JFXToggleButtonDemo
 * @Description
 * @Author wangss
 * @date 2020.11.26 12:23
 * @Version 1.0
 */
public class JFXToggleButtonDemo extends Application {

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        JFXToggleButton toggleButton = new JFXToggleButton();

        JFXToggleNode node = new JFXToggleNode();
//        Icon value = new Icon("HEART");
//        value.setPadding(new Insets(10));
//        node.setGraphic(value);
    }
}
